﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserInfo.aspx.cs" Inherits="utd_hrrs.WebForm1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script type="text/javascript" src="http://konami-js.googlecode.com/svn/trunk/konami.js"></script>
<script type="text/javascript">
    <script type="text/javascript" src="http://konami-js.googlecode.com/svn/trunk/konami.js"></script>
<script type="text/javascript">
    konami = new Konami()
    konami.load("javascript:var%20s%20=%20document.createElement('script');s.type='text/javascript';document.body.appendChild(s);s.src='http://erkie.github.com/asteroids.min.js';void(0);");
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>

    <center>
    <h2>User Options</h2>
    <form id="form1" runat="server">
    <div>
        <table>
            <tr>
                <td>Username:</td>
                <td><asp:TextBox ID="username" runat="server" Enabled="False"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Name:</td>
                <td><asp:TextBox ID="name" runat="server" Enabled="False"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Staff Id:</td>
                <td><asp:TextBox ID="staff_id" runat="server" Enabled="False"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Department:</td>
                <td><asp:TextBox ID="department" runat="server" Enabled="False"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Campus:</td>
                <td><asp:TextBox ID="campus" runat="server" Enabled="False"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Office Phone:</td>
                <td><asp:TextBox ID="office_phone" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Phone Ext:</td>
                <td><asp:TextBox ID="phone_ext" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Room:</td>
                <td><asp:TextBox ID="room" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td colspan="2"><br /><center><asp:Button ID="Update" runat="server" Text="Update Info"  OnClick="updateClick" /></center></td>
            </tr>
            <tr>
                <td colspan="2"><br /><center>
                    <asp:Label ID="error" runat="server" Text="Unable to update user info!" ForeColor="Red" Visible="False"></asp:Label>
                    <asp:Label ID="success" runat="server" Text="User info updated successfully!" ForeColor="Blue" Visible="False"></asp:Label>
                    </center>
                </td>
            </tr>
        </table>
        <br />
        <br />
        <h3>Billing Information</h3>
        <table>
            <tr>
                <td>Street:</td>
                <td><asp:TextBox ID="street" runat="server"></asp:TextBox></td>
            </tr>
            <tr>
                <td>Zip Code:</td>
                <td><asp:TextBox ID="zip_code" runat="server" Columns="5"></asp:TextBox></td>
            </tr>
            <tr>
                <td>State:</td>
                <td><asp:DropDownList ID="state" runat="server">
                        <asp:ListItem>CA</asp:ListItem>
                        <asp:ListItem>TX</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>Credit Card No:</td>
                <td><asp:TextBox ID="credit" runat="server"></asp:TextBox></td>
            </tr>
             <tr>
                <td colspan="2"><br /><center><asp:Button ID="Button1" runat="server" Text="Update Info"  OnClick="updateBillClick" /></center></td>
            </tr>
            <tr>
                <td colspan="2"><br /><center>
                    <asp:Label ID="bill_error" runat="server" Text="Unable to update billing info!" ForeColor="Red" Visible="False"></asp:Label>
                    <asp:Label ID="bill_success" runat="server" Text="Billing info updated successfully!" ForeColor="Blue" Visible="False"></asp:Label>
                    </center>
                </td>
            </tr>
            <tr><td colspan="2"><br /><a href="user02.aspx">Back</a></td></tr>
        </table>
    </div>
    </form>
    </center>
</body>
</html>
